From b44b695723f7aa091688336e570639b548c5aa95 Mon Sep 17 00:00:00 2001
From: Andreas Baierl <ichgeh@imkreisrum.de>
Date: Tue, 26 May 2015 09:23:51 -0400
Subject: [PATCH 01/19] arm:sunxi:disp: Fix typo in get_src_window

---
 drivers/video/sunxi/disp/disp_layer.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/video/sunxi/disp/disp_layer.c b/drivers/video/sunxi/disp/disp_layer.c
index c5100e8..831f814 100644
--- a/drivers/video/sunxi/disp/disp_layer.c
+++ b/drivers/video/sunxi/disp/disp_layer.c
@@ -563,8 +563,8 @@ __s32 BSP_disp_layer_get_src_window(__u32 sel, __u32 hid, __disp_rect_t *regn)
 		} else {
 			regn->x = layer_man->para.src_win.x;
 			regn->y = layer_man->para.src_win.y;
-			regn->width = layer_man->para.scn_win.width;
-			regn->height = layer_man->para.scn_win.height;
+			regn->width = layer_man->para.src_win.width;
+			regn->height = layer_man->para.src_win.height;
 			return 0;
 		}
 	} else {
-- 
1.9.1

